package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjNetworkFieldValOption;

import java.util.List;
import java.util.stream.Stream;

/**
 * <p>
 * 网点字段值内容表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-02-01
 */
public interface ZjNetworkFieldValOptionService extends IService<ZjNetworkFieldValOption> {

    /**
     * 根据服务商ID获取字段内容
     * @param networkId 服务商ID
     * @return
     */
    List<ZjNetworkFieldValOption> getByNetworkId(Long networkId);

    /**
     * 根据服务商ID删除字段内容
     * @param networkId 服务商ID
     */
    void deleteByNetworkId(Long networkId);

    /**
     * 根据服务商字段值ID获取字段内容
     * @param networkFieldValIds 字段值ID
     * @return
     */
    List<ZjNetworkFieldValOption> getByNetworkFieldValIds(List<Long> networkFieldValIds);
}
